<?php

namespace App\Admin\Controllers;
use App\Http\Controllers\Controller;
use App\Models\Plan;
use App\Models\Project;
use Illuminate\Http\Request;

class FormSelectApiController extends Controller
{
	public function plan()
	{
		return Plan::select('id', 'name as text')->get()->toArray();
	}

	public function project()
	{
		return Project::select('id', 'name as text')->get()->toArray();
	}
}